PaymentPlugins\WooFunnels\Stripe\Upsell\PaymentGateways S

Total Complexity 42
Dependencies 7
Dependents 1
Total lines 218
Lines of code 157
Logical lines of code 69
Comment lines 33
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
get_charges_for_upsell()
A
43 8 51
add_scripts()
S
59 5 14
process_refund_success()
S
61 5 12
maybe_set_save_payment_method()
S
65 5 9
maybe_setup_upsell()
S
65 5 9
initialize_gateways()
S
73 2 5
add_new_order_data()
S
70 2 6
update_subscription_meta()
S
68 2 7
initialize()
S
60 1 12
__construct()
S
74 1 5
add_supported_gateways()
S
79 1 3
get_subscription_gateways()
S
79 1 3
get_payment_gateways()
S
67 1 8
is_supported_gateway()
S
79 1 3
get_wfocu_payment_gateway()
S
80 1 3
add_data()
S
69 1 7